.TH asctime 3 "" "" ""
.SH SYNOPSIS
asctime \- format time as string
.SH ANSI_SYNOPSIS
#include <time.h>
.br
char *asctime(const struct tm *
.IR clock );
.br
char *asctime_r(const struct tm *
.IR clock ,
char *
.IR buf );
.br
.SH TRAD_SYNOPSIS
#include <time.h>
.br
char *asctime(
.IR clock )
.br
struct tm *
.IR clock ;
.br
char *asctime_r(
.IR clock )
.br
struct tm *
.IR clock ;
.br
char *
.IR buf ;
.br
.SH DESCRIPTION
Format the time value at 
.IR clock 
into a string of the form
. Wed Jun 15 11:38:07 1988\n\0
The string is generated in a static buffer; each call to 
.BR asctime 
overwrites the string generated by previous calls.
.SH RETURNS
A pointer to the string containing a formatted timestamp.
.SH PORTABILITY
ANSI C requires 
.BR asctime .

.BR asctime 
requires no supporting OS subroutines.
.SH SOURCE
src/newlib/libc/time/asctime.c
